Interface CDDCDataFeeder
public interface CDDCDataFeeder
The
CDDCDataFeeder allows to set CDDC data values.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final introoting probability max value when usingsetRootingProbability(int)static final introoting probability min value when usingsetRootingProbability(int). -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApplicationReleaseDate(long applicationReleaseDate) Sets the value for the release date of the application (publication date).voidsetApplicationRepackaged(boolean applicationRepackaged) Deprecated.voidsetDebuggerAttached(boolean debuggerAttached) Deprecated.voidsetDeviceRooted(boolean deviceRooted) Sets the value for device rooted.voidsetHookingFrameworks(boolean hookingFrameworks) Sets the value for the hooking frameworks status.voidsetLibraryInjectionDetected(boolean libraryInjectionDetected) Sets the value for library injection detected status.voidsetNativeCodeHooks(boolean nativeCodeHooks) Deprecated.voidsetRaspProtected(boolean raspProtected) Sets the value for the RASP protection statusvoidsetRootingProbability(int rootingProbability) Sets the value in percent for the probability of the device to be rooted, using heuristics.voidsetScreenshotDetected(boolean screenshotDetected) Sets the value for the screenshot detected status.voidsetUntrustedKeyboard(boolean untrustedKeyboard) Sets the value for the untrusted keyboard status.voidsetUntrustedScreenReaders(boolean screenReader) Sets the value for the untrusted screen reader status.
-
Field Details
-
ROOTING_PROBABILITY_MIN_VALUE
static final int ROOTING_PROBABILITY_MIN_VALUErooting probability min value when usingsetRootingProbability(int).- See Also:
-
ROOTING_PROBABILITY_MAX_VALUE
static final int ROOTING_PROBABILITY_MAX_VALUErooting probability max value when usingsetRootingProbability(int)- See Also:
-
-
Method Details
-
setApplicationReleaseDate
void setApplicationReleaseDate(long applicationReleaseDate) Sets the value for the release date of the application (publication date).- Parameters:
applicationReleaseDate- Release date of the application (publication date) in milliseconds since epoch.- Throws:
IllegalArgumentException- If the parameter is not within bounds.
-
setDeviceRooted
void setDeviceRooted(boolean deviceRooted) Sets the value for device rooted.- Parameters:
deviceRooted- Indicates if the device is rooted or jailbroken.
-
setRaspProtected
void setRaspProtected(boolean raspProtected) Sets the value for the RASP protection status- Parameters:
raspProtected- Indicates if the application is rasp protected.
-
setUntrustedKeyboard
void setUntrustedKeyboard(boolean untrustedKeyboard) Sets the value for the untrusted keyboard status.- Parameters:
untrustedKeyboard- Indicates if the application has an untrusted keyboard.
-
setUntrustedScreenReaders
void setUntrustedScreenReaders(boolean screenReader) Sets the value for the untrusted screen reader status.- Parameters:
screenReader- Indicates if the application is has an untrusted screen reader.
-
setHookingFrameworks
void setHookingFrameworks(boolean hookingFrameworks) Sets the value for the hooking frameworks status.- Parameters:
hookingFrameworks- Indicates if the application has hooking frameworks.
-
setNativeCodeHooks
Deprecated.Sets the value for the native code hooks status.- Parameters:
nativeCodeHooks- Indicates if the application has native code hooks.
-
setDebuggerAttached
Deprecated.Sets the value for the attached debugger status.- Parameters:
debuggerAttached- Indicates if the application has an attached debugger.
-
setApplicationRepackaged
Deprecated.Sets the value for the repackaging status.- Parameters:
applicationRepackaged- Indicates if the application has been repackaged.
-
setScreenshotDetected
void setScreenshotDetected(boolean screenshotDetected) Sets the value for the screenshot detected status.- Parameters:
screenshotDetected- Indicates if a screenshot of the application has been taken.
-
setLibraryInjectionDetected
void setLibraryInjectionDetected(boolean libraryInjectionDetected) Sets the value for library injection detected status.- Parameters:
libraryInjectionDetected- Indicates if an untrusted library has tried to be injected into the application during runtime.
-
setRootingProbability
void setRootingProbability(int rootingProbability) Sets the value in percent for the probability of the device to be rooted, using heuristics. A value ofROOTING_PROBABILITY_MIN_VALUEindicates that the device is most likely not rooted while a value ofROOTING_PROBABILITY_MAX_VALUEindicates that the device is most likely rooted.- Parameters:
rootingProbability- Probability of the device to be rooted. Integer betweenROOTING_PROBABILITY_MIN_VALUEandROOTING_PROBABILITY_MAX_VALUE.- Throws:
IllegalArgumentException- If the parameter is not within bounds.
-